package com.kws.commercial.dao.Info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * <b>QueryProjectQuotationInfo</b>
 *
 * @description: QueryProjectQuotationInfo <br>
 * @date: 2024/10/28 09:38 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryProjectQuotationInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "方案名称")
    private String schemeName;

    @ApiModelProperty(value = "方案状态：0-未处理，1-已完成")
    private String schemeStatus;

    @ApiModelProperty(value = "报价有效期")
    private Integer effectiveTime;

    @ApiModelProperty(value = "方案地址")
    private String optionUrl;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "报价列表")
    private List<QueryQuotationDetailsInfo> quotationDetailsList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public String getSchemeStatus() {
        return schemeStatus;
    }

    public void setSchemeStatus(String schemeStatus) {
        this.schemeStatus = schemeStatus;
    }

    public Integer getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(Integer effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    public String getOptionUrl() {
        return optionUrl;
    }

    public void setOptionUrl(String optionUrl) {
        this.optionUrl = optionUrl;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        String date = DateUtil.format(this.createTime, DatePattern.NORM_DATETIME_FORMATTER);
        return date;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<QueryQuotationDetailsInfo> getQuotationDetailsList() {
        return quotationDetailsList;
    }

    public void setQuotationDetailsList(List<QueryQuotationDetailsInfo> quotationDetailsList) {
        this.quotationDetailsList = quotationDetailsList;
    }
}
